package com.beamfield.dao.process;

import com.beamfield.model.ProcYzl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ProcYzlMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProcYzl record);

    int insertSelective(ProcYzl record);

    ProcYzl selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProcYzl record);

    int updateByPrimaryKey(ProcYzl record);

    List<ProcYzl> selectByNoticeId(@Param("noticeId") String noticeId, @Param("userId") Long userId);
}